<%@ page language="java" pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/core/common/taglibs.jsp" %>
<%@ include file="/WEB-INF/core/common/top.jsp" %>
<link type="text/css" rel="stylesheet" href="${ctx}/core/styles/validatorAuto.css" />

<script language="javascript">
<!--
	$(document).ready(function(){
		$.formValidator.initConfig({formid:"mainForm",onerror:function(msg){showMessage(msg);},onsuccess:function(){$("#submitButton").attr('disabled',true);}});
		$("#epgExpireDay").formValidator().inputValidator({min:0,max:9,type:"value",onerror:"<s:text name='cep.confAttributeSelection.epgExpireDay.warning'/>"}).regexValidator({regexp:"^[1-9]d*$",onerror:"<s:text name='cep.confAttributeSelection.epgExpireDay.warning'/>"});
	});	

//-->

   function sort(_fieldName){
   		document.searchForm.sortField.value=_fieldName;
   		document.searchForm.sortMode.value='<s:property value="sortMode"/>';
   		document.searchForm.submit();
   }
</script>
<body style="overflow-x:hidden;overflow-y:auto;">
<div id="mytest3"></div>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<%@include file="/WEB-INF/core/common/message.jsp"  %>
  <tr><td><table border="0" align="center" cellpadding="0" cellspacing="0">
    <td width="8" height="27"><img src="${ctx}/core/images/button_05.gif" width="8" height="27" /></td>
    <td width="99%" align="left" background="${ctx}/core/images/button_06.gif" class="bluecu">&nbsp;<img src="${ctx}/core/images/icon_04.gif" />&nbsp;<s:text name="cep.confAttributeSelection.title" /></td>
    <td width="8"><img src="${ctx}/core/images/button_07.gif" width="8" height="27" /></td>
    </table>
    </td>
  </tr>
  <tr>
    <td colspan="3" class="biaoge">	
	<form name="mainForm" id="mainForm" method="post" action="${ctx}/attributeManage/confAttributeSelection.action">  
	
	  <input type="hidden" name="act" id="act" value="editSubmit"/>
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">

	  <tr>
	      <td class="tabulation" colspan="3"><div style="position:relative">
	
				        <table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#FFFFFF">

							    <tr align="left">	    
									<td width="20%" bgcolor="#DDE4EA">&nbsp;&nbsp;<s:text name="cep.confAttributeSelection.pre.websearch" /></td>
									<td bgcolor="#DDE4EA">
									   <s:radio name="usePreKeyUse" list="#{1:getText('cep.confAttributeSelection.useBlack'),2:getText('cep.confAttributeSelection.useWhite'),3:getText('cep.confAttributeSelection.noUser')}" theme="simple" ></s:radio>
									</td>
							    </tr>
							    
							    <tr align="left">	    
									<td width="20%" bgcolor="#DDE4EA">&nbsp;&nbsp;<s:text name="cep.confAttributeSelection.post.websearch" /></td>
									<td bgcolor="#DDE4EA">
									   <s:radio name="usePostKeyUse" list="#{1:getText('cep.confAttributeSelection.useBlack'),2:getText('cep.confAttributeSelection.useWhite'),3:getText('cep.confAttributeSelection.noUser')}" theme="simple" ></s:radio>
									</td>
							    </tr>
							    
							    <tr align="left">	    
									<td width="20%" bgcolor="#DDE4EA">&nbsp;&nbsp;<s:text name="cep.confAttributeSelection.post.domainsearch" /></td>
									<td bgcolor="#DDE4EA">
									   <s:radio name="usePostDomainUse" list="#{1:getText('cep.confAttributeSelection.useBlack'),2:getText('cep.confAttributeSelection.useWhite'),3:getText('cep.confAttributeSelection.noUser')}" theme="simple" ></s:radio>
									</td>
							    </tr>

							    <tr align="left">	    
									<td width="10%" bgcolor="#DDE4EA">&nbsp;&nbsp;<s:text name="cep.confAttributeSelection.apiSearchUse" /></td>
									<td bgcolor="#DDE4EA">
									   <s:radio name="apiSearchUse" list="#{1:getText('cep.confAttributeSelection.apiSearchUse.baidu'),2:getText('cep.confAttributeSelection.apiSearchUse.google'),3:getText('cep.confAttributeSelection.apiSearchUse.yahoo')}" theme="simple" ></s:radio>
									</td>
							    </tr>
							    <tr align="left">	    
									<td width="20%" bgcolor="#DDE4EA">&nbsp;&nbsp;<s:text name="cep.confAttributeSelection.twitterApiSearchUse" /></td>
									<td bgcolor="#DDE4EA">
									   <s:radio disabled="true" name="twitterApiSearchUse" list="#{1:getText('cep.confAttributeSelection.twitterApiSearchUse.sina'),2:getText('cep.confAttributeSelection.twitterApiSearchUse.twitter')}" theme="simple" ></s:radio>
									   <input type="hidden" name="twitterApiSearchUse" value="<s:property value='twitterApiSearchUse'/>"/> 
									</td>
							    </tr>
							    <tr align="left">	    
									<td width="20%" bgcolor="#DDE4EA">&nbsp;&nbsp;<s:text name="cep.confAttributeSelection.epgExpireDay" /></td>
									<td bgcolor="#DDE4EA">
									   <input name="epgExpireDay" id="epgExpireDay" value="<s:property value='epgExpireDay'/>"/>
									</td>
							    </tr>

			    		        <tr>
						        	<td height="20" align="right" bgcolor="#DDE4EA" colspan="6">
									     <input type="submit" class="btn" id="submitButton" name="edit" value="<s:text name='button.save' />" />
							        </td>
						        </tr>	
							    
							    
							    
						</table> 
				</div>
		  </td>

    </tr>

	      </table>

	 </form>

    </td></tr></table>
</body>
